package com.tom.study.example.selector;

public class MainThread {

    public static void main(String[] args) {

        SelectorThreadGroup boss = new SelectorThreadGroup("boss",2);  //混杂模式
        SelectorThreadGroup worker = new SelectorThreadGroup("worker",3);  //混杂模式
        boss.setWorker(worker);
        boss.bind(9999);
        boss.bind(7777);
        boss.bind(8888);

    }
}
